<!DOCTYPE html>
<html>
<head>
  <title>Service Worker Test Page</title>
  <script>
    setTimeout(() => {
      if (navigator.serviceWorker) {
        navigator.serviceWorker.register("/service-worker.js", { scope: "/" })
          .then(() => navigator.serviceWorker.ready)
          .then(() => console.debug("[Companion]", "Service worker registered!"));
      }
    }, 100)
  </script>
</head>
<body>
  <h1>This page loads a service worker</h1>
</body>
</html>
